NM = nasm
NM_FLG = -f elf -o
GCC = gcc
GCC_FLG = -c -nostdlib -fno-builtin -fno-stack-protector -fno-exceptions -Wall -O -finline-functions -fomit-frame-pointer -I../inc

all:	clear
	$(NM) $(NM_FLG) start.o start.asm
	- $(GCC) $(GCC_FLG) *.c

clear:
	- rm	*.o *~ *.obj
